<template>
    <div class="distribution">
        <h2 class="title">Become Matelink affiliate</h2>
        <p class="desc">Share and earn up to 15% commission rate.</p>
        <p class="btn">Learn More</p>
    </div>
</template>
<script setup lang="ts">
</script>
<style lang="scss" scoped>
.distribution {
    margin: 0 34px 80px;
    background: url('~@/assets/images/distribution_bg.png') no-repeat;
    height: 535px;
    overflow: hidden;
    padding-left: 155px;

    .title {
        font-size: 48px;
        font-weight: 700;
        line-height: 86px;
        margin-top: 111px;
    }

    .desc {
        font-size: 28px;
        font-weight: 400;
        line-height: 1;
    }

    .btn {
        width: 290px;
        height: 82px;
        font-size: 24px;
        font-weight: 400;
        line-height: 30px;
        background: #846FC1;
        color: #fff;
        cursor: pointer;
        border-radius: 16px;
        text-align: center;
        line-height: 82px;
        margin-top: 112px;
    }
}

@media screen and (max-width: 750px) {
    .distribution {
        margin: 0 0 0.2rem;
        background: url('~@/assets/images/distribution_bg_m.png') no-repeat;
        height: 8.66rem;
        padding: 0 0.8rem;
        background-size: cover;

        .title {
            font-size: 0.48rem;
            line-height: 0.56rem;
            margin-top: 0.86rem;
        }

        .desc {
            font-size: 0.28rem;
            margin-top: 0.2rem;
        }

        .btn {
            width: 2.2rem;
            height: 0.64rem;
            font-size: 0.2rem;
            line-height: 0.64rem;
            border-radius: 0.32rem;
            margin-top: 0.3rem;
        }
    }

}
</style>